<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib uri="http://v1.com/pn" prefix="v1" %>
<title>${category.name}| 北京时间</title>
<script src='${baseurl}dwr/interface/dwrAction.js'></script>
<script src='${baseurl}dwr/engine.js'></script>
<script src='${baseurl}dwr/util.js'></script>

<script type="text/javascript">
	/* jquery开始 */
	$(document).ready(function(){ 
	
		/* 缩略图墙开始 */	
				var $thumbs_img = $('#thumbs_img');
 				$thumbs_img.imagesLoaded( function(){
 					 $thumbs_img.masonry({
    					itemSelector : '.box',
    					columnWidth: 90,
    					isAnimated: true });
 					});
 					
                var $thumbs_other = $('#thumbs_other');					 
 				$thumbs_other.imagesLoaded( function(){
 					 $thumbs_other.masonry({
    					itemSelector : '.box',
    			    	columnWidth: 90,
    					isAnimated: true });
 		 			});

    	/* 缩略图墙结束 */
	});
	/* jquery结束 */

</script>
<body>

<c:choose>
<c:when test="${fn:contains(item.name, '港元')}">
<c:set var="id" value="4"/>
<c:set var="google" value="HKDCNY"/>
<c:set var="link" value="港元"/>
</c:when>
<c:when test="${fn:contains(item.name, '日元')}">
<c:set var="id" value="3"/>
<c:set var="google" value="JPYCNY"/>
<c:set var="link" value="日元"/>
</c:when>
<c:when test="${fn:contains(item.name, '美元')}">
<c:set var="id" value="1"/>
<c:set var="google" value="USDCNY"/>
<c:set var="link" value="美元"/>
</c:when>
<c:when test="${fn:contains(item.name, '欧元')}">
<c:set var="id" value="2"/>
<c:set var="google" value="EURCNY"/>
<c:set var="link" value="欧元"/>
</c:when>
<c:when test="${fn:contains(item.name, '加元')}">
<c:set var="id" value="9"/>
<c:set var="google" value="CADCNY"/>
<c:set var="link" value="加元"/>
</c:when>
<c:when test="${fn:contains(item.name, '英镑')}">
<c:set var="id" value="5"/>
<c:set var="google" value="GBPCNY"/>
<c:set var="link" value="英元"/>
</c:when>
<c:when test="${fn:contains(item.name, '澳元')}">
<c:set var="id" value="8"/>
<c:set var="google" value="AUDCNY"/>
<c:set var="link" value="澳元"/>
</c:when>
<c:otherwise><c:set var="id" value="0" /></c:otherwise>
</c:choose>

<div id="content">
<div id="col_left"><!-- 左边column -->
	<div class="full_img" align="center">
		<div class="caption">
			<span id="cont">${category.digest}-${item.digest}-${item.name}</span><br>
			<a href="https://www.google.com.hk/finance?q=${google}&gl=cn" target="_blank">Google财经(${link}对人民币汇率)</a>
		</div>
		
		<c:if test="${id != 0}">
		<iframe  src="http://www.pbc.gov.cn:8080/llChart.jsp?id=${id}" 
			width="630" height="530" scrolling="no" 
			frameborder="0" border="0" marginheight="0" marginwidth="0" >
			ops! what happened to pbc?</iframe>
		<br>
		如果不能正常显示显示，请<a href="http://get.adobe.com/cn/flashplayer/" style="font-size:14px; color:#FF0000" target="_blank">点击下载</a>最新的flash插件
		<br>
		</c:if>
		<div class="share">
			<div class="clear"></div>
		</div>
	</div>

	<c:import url="/common/comment.jsp"></c:import>
</div>

<div id="col_right"><!-- 右边column -->
	<c:import url="/common/interest.jsp"></c:import>
	<div class="clear"></div>
</div>

<div class="clear"></div>
</div>
<div class="clear"></div>
</body>
